#include<fcntl.h>
#include<unistd.h>
#include<string.h>
int main()
{
    int fd = open("log.txt",O_WRONLY);
    char msg[]="Hello,FIFO!";
    write(fd,msg,sizeof(msg));
    close(fd);
    return 0;
}